package com.zzxy.spring2.controller;

import com.zzxy.spring2.service.ITeacherService;
import com.zzxy.spring2.service.impl.TeacherServiceImpl;


@Controller
public class TeacherController {

private ITeacherService teacherService;

   /* public ITeacherService getTeacherService() {
        return teacherService;
    }

    public void setTeacherService(ITeacherService teacherService) {
        this.teacherService = teacherService;
    }*/

    public void register() {
        // service
        teacherService.registerTeacher();
    }

    public void setTeacherService(TeacherServiceImpl teacherService) {
    }
}
